/// 请求 * 登录

import type { LoginInfo, LoginParams } from './types'
import { request } from '@/helpers'

/**
 * 登录
 */
export function apiLogin(params: LoginParams) {
  return request<ResponseResult<LoginInfo>>('/fjfr/user_center/login', {
    method: 'POST',
    data: { ...params, platformId: 0, deviceType: 'PC' },
  }, 'response')
}

export * from './types'
